/*
 * Date：10/23/18 10:15 PM
 * Author: guomw
 *
 */

package org.elanfox.intellicommunity.biz.service.core.resident;


import org.elanfox.intellicommunity.biz.entity.resident.RoomPO;
import org.elanfox.intellicommunity.data.base.base.SearchableCrudService;

import java.util.List;

/**
 * 房间service
 *
 * @author guomw
 * @date 2018/9/14
 */
public interface RoomService extends SearchableCrudService<RoomPO, Integer> {

    /**
     * 根据楼层id查询对应的房间
     *
     * @param strId
     * @return
     */
    List<RoomPO> findByStrId(Integer strId);


    /**
     * 根据房间名称查询房间
     *
     * @param roomName
     * @return
     */
    boolean delete(Integer id);
}
